package cn.wangqi.personal.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 *created by admin  2017-10-17 02:38:27
   实体：BlogArticle
 */
public class BlogArticle implements Serializable{
    private static final long serialVersionUID = 1L;

    private int id;

    //用户id
    private int userId;

    //用户id
    private String userName;

    //文章标题
    private String title;

    private String img;

    //文章描述
    private String description;

    //文章主体
    private String content;

    //评论人数
    private int discussCount;

    //浏览人数
    private int lookCount;

    //是否置顶，0-否，1-是
    private int stick;

    //是否推荐，0-否，1-是
    private int recommend;

    private Date createTime;

    private Date updateTime;

    private List<BlogTagArticle> blogTagArticleList;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public List<BlogTagArticle> getBlogTagArticleList() {
        return blogTagArticleList;
    }

    public void setBlogTagArticleList(List<BlogTagArticle> blogTagArticleList) {
        this.blogTagArticleList = blogTagArticleList;
    }

    public void setId(int id){
        this.id = id;
    }

    public int getId(){
        return this.id;
    }

    public void setUserId(int userId){
        this.userId = userId;
    }

    public int getUserId(){
        return this.userId;
    }

    public void setTitle(String title){
        this.title = title;
    }

    public String getTitle(){
        return this.title;
    }

    public void setImg(String img){
        this.img = img;
    }

    public String getImg(){
        return this.img;
    }

    public void setDescription(String description){
        this.description = description;
    }

    public String getDescription(){
        return this.description;
    }

    public void setContent(String content){
        this.content = content;
    }

    public String getContent(){
        return this.content;
    }

    public void setDiscussCount(int discussCount){
        this.discussCount = discussCount;
    }

    public int getDiscussCount(){
        return this.discussCount;
    }

    public void setLookCount(int lookCount){
        this.lookCount = lookCount;
    }

    public int getLookCount(){
        return this.lookCount;
    }

    public void setStick(int stick){
        this.stick = stick;
    }

    public int getStick(){
        return this.stick;
    }

    public void setRecommend(int recommend){
        this.recommend = recommend;
    }

    public int getRecommend(){
        return this.recommend;
    }

    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    public Date getCreateTime(){
        return this.createTime;
    }

    public void setUpdateTime(Date updateTime){
        this.updateTime = updateTime;
    }

    public Date getUpdateTime(){
        return this.updateTime;
    }

}